<extend name="Public/base"/>

<block name="body">
	<!-- 标题栏 -->
	<div class="main-title">
		<h2>{$meta_title}</h2>
	</div>
	<form id="form" action="__SELF__" method="post" class="form-horizontal">
		<div class="form-item cf">
			<label class="item-label">标题<span class="check-tips">（文档标题）</span></label>
			<div class="controls">
				<input type="text" class="text input-large" name="title" value="{$info['title']}">
			</div>
		</div>
		<div class="form-item cf">
			<label class="item-label">描述</label>
			<div class="controls">
				<label class="textarea input-large">
					<textarea name="description">{$field.value}</textarea>
				</label>
			</div>
		</div>
		<div class="form-item cf">
			<label class="item-label">文档内容</label>
			<div class="controls">
				<label class="textarea">
				<textarea name="content">{$info.content}</textarea>
				{:hook('adminArticleEdit', array('name'=>'content','value'=>$field['value']))}
				</label>
			</div>
		</div>
		<div class="form-item cf">
			<button class="btn submit-btn ajax-post" type="submit" target-form="form-horizontal">确 定</button>
			<button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
		</div>
	</form>
</block>

<block name="script">
<script type="text/javascript">
	highlight_subnav('{:U('Cabinet/index')}');
</script>
</block>